import React from 'react';
import ReactDOM from 'react-dom';
import Home from './src/Home';
import About from './src/Home/About';
import { BrowserRouter, Route, Switch } from 'react-router-dom/cjs/react-router-dom.min';

function App() {
  return (
    <BrowserRouter>

      <Route path='/about' component={About}></Route>
      <Route path='/' component={Home}></Route>

    </BrowserRouter>
  );
}

ReactDOM.render(<App />, document.getElementById('root'));
